package fr.alesia.deepstack.data;

import java.util.SortedSet;

import fr.alesia.deepstack.bean.Player;
import fr.alesia.deepstack.bean.Ranking;
import fr.alesia.deepstack.bean.Tournament;

public interface RankingDao extends DataAccessObject{

	Ranking find(String id);
	Ranking find(Tournament tournament, Player player);
	SortedSet<Ranking> findAll();
	SortedSet<Ranking> findByPlayer(Player player);
	SortedSet<Ranking> findByTournament(Tournament tournament);
	
	
	void insert(Ranking ranking);
	void update(Ranking ranking);
	void delete(Ranking ranking);
}
